home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Canadian & World Encyclopedia 1998
/
The Canadian & World Encyclopedia 1998 - Disc 2.iso
/
mac
/
prime_CD
/
pb
/
basecast.cst
/
00081_Script_interface profiler parent
< prev
next >
Wrap
Text File
|
1997-07-24
|
2KB
|
46 lines
property membsToPrint
on new me
set intfcProfile = [:]
return me
end
on derive me -- derives members to print from PM profile interface state and stores in 'the membsToPrint of me'
set membsToPrint = [:]
repeat with theSpriteNum = 1 to 48
set theMemberType = the type of the member of sprite theSpriteNum
if theMemberType <> #empty then
set theMembName = the name of the member of sprite theSpriteNum
set theMemb = the member of sprite theSpriteNum
end if
case the type of the member of sprite theSpriteNum of
#bitmap:
case true of
(theMembName contains "as"):
setaprop membsToPrint, theMembName, theMemb
(theMembName contains "bs"): -- alert "'bs' bitmap"
setaprop membsToPrint, theMembName, theMemb
(theMembName contains "cs"): -- alert "'cs' bitmap"
setaprop membsToPrint, theMembName, theMemb
end case
#richtext, #field:
case true of
(theMembName contains "issue"):
setaprop membsToPrint, theMembName, theMemb
(theMembName contains "txt_"), (theMembName contains "tra_"):
setaprop membsToPrint, theMembName, theMemb
(theMembName contains "sub_"):
setaprop membsToPrint, theMembName, theMemb
(windowPresent("textpop.dir")):
setaprop membsToPrint, theMembName, theMemb
end case
end case
end repeat
return me
end